import service from "../request/index";

// 登录接口
export const LoginService = (Form) => {
    return service({
        method: 'POST',
        url: '/movie/login/',
        data: {
            ...Form
        }
    })
}
// 获取验证码图片
export const CaptchaImg = () => {
    return service({
        method: 'GET',
        url: '/movie/captcha/',
    })
}

// 将手机号发往后端
export const SmsmobileService = (mobile)=>{
    return service({
        method:'POST',
        url:'/movie/smsmobile/',
        data:{
            mobile:mobile
        }
    })
}
// 注册
export const CustomRegistService = (RegistForm)=>{
    return service({
        method:'POST',
        url:'/movie/register/',
        data:RegistForm
    })
}